WooCommerce\PayPalCommerce\Subscription\Helper\SubscriptionHelper S

Total Complexity 25
Dependencies 4
Dependents 9
Total lines 108
Lines of code 57
Logical lines of code 31
Comment lines 36
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
cart_contains_subscription()
A
56 9 18
order_pay_contains_subscription()
S
62 4 11
has_subscription()
S
77 4 3
current_product_is_subscription()
S
69 3 7
accept_only_automatic_payment_gateways()
S
64 2 10
is_subscription_change_payment()
S
71 2 5
plugin_is_active()
S
80 1 3